Tootsville::Describe-World

Function

Describe-World names a function, with lambda list (LATITUDE LONGITUDE ALTITUDE WORLD):

Describe the world at LATITUDE, LONGITUDE, ALTITUDE in WORLD.

Returns a PList with :TERRAIN and :FURNITURE.

:TERRAIN contains a 201×201 grid of 1m corners of a 200×200 meter space (that is, the entire space at LATITUDE, LONGITUDE at ALTITUDE=0). If ALTITUDE is not zero, the :TERRAIN is omitted.

:FURNITURE contains a list of item descriptions as per TOOTSVILLE ITEMS-AT, which are as per TOOTSVILLE ITEM-INFO.

File

Defined in file src/world.lisp.